package com.my.test.jcdftemplate;

import java.util.ArrayList;
import java.util.List;

public class Templage {

	private String name = "";
	private String desc = "";
	private String entry = "" ;
	private List<TplMethod> methodList = new ArrayList<TplMethod>();

	public void addMethod(TplMethod method){
		methodList.add(method) ;
	}
	
	public String getEntry() {
		return entry;
	}

	public void setEntry(String entry) {
		this.entry = entry;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<TplMethod> getMethodList() {
		return methodList;
	}

	public void setMethodList(List<TplMethod> methodList) {
		this.methodList = methodList;
	}

	public String getFirstUpperName() {
		return name.substring(0, 1).toUpperCase() + name.substring(1);
	}
}
